package org.harsh.transmission.mapper;

import java.util.List;
import org.harsh.transmission.domain.TransReceiver;

/**
 * 消息接收对象Mapper接口
 * 
 * @author liuhaibo
 * @date 2024-08-25
 */
public interface TransReceiverMapper 
{
    /**
     * 查询消息接收对象
     * 
     * @param id 消息接收对象主键
     * @return 消息接收对象
     */
    public TransReceiver selectTransReceiverById(Long id);

    /**
     * 查询消息接收对象列表
     * 
     * @param transReceiver 消息接收对象
     * @return 消息接收对象集合
     */
    public List<TransReceiver> selectTransReceiverList(TransReceiver transReceiver);

    /**
     * 新增消息接收对象
     * 
     * @param transReceiver 消息接收对象
     * @return 结果
     */
    public int insertTransReceiver(TransReceiver transReceiver);

    /**
     * 修改消息接收对象
     * 
     * @param transReceiver 消息接收对象
     * @return 结果
     */
    public int updateTransReceiver(TransReceiver transReceiver);

    /**
     * 删除消息接收对象
     * 
     * @param id 消息接收对象主键
     * @return 结果
     */
    public int deleteTransReceiverById(Long id);

    /**
     * 批量删除消息接收对象
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTransReceiverByIds(String[] ids);
}
